From d06cec492ebe271a5651094dff4a1643cb619673 Mon Sep 17 00:00:00 2001 From: Debian LibreOffice Maintainers Date: Wed, 28 Jan 2026 21:03:25 +0100 Subject: [PATCH] fix-rust_uno-path-for-cargo-wrapper =================================================================== Gbp-Pq: Name fix-rust_uno-path-for-cargo-wrapper.diff --- rust_uno/Extension_rust_uno-example.mk | 4 ++-- rust_uno/Library_rust_uno-example.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust_uno/Extension_rust_uno-example.mk b/rust_uno/Extension_rust_uno-example.mk index d0ee22a657d..140a3e1c41e 100644 --- a/rust_uno/Extension_rust_uno-example.mk +++ b/rust_uno/Extension_rust_uno-example.mk @@ -14,13 +14,13 @@ $(eval $(call gb_Extension_add_file,rust_uno-example,platform.components,$(call $(eval $(call gb_Extension_add_files,rust_uno-example,, \ $(SRCDIR)/rust_uno/example/Addons.xcu \ $(SRCDIR)/rust_uno/example/ProtocolHandler.xcu \ - $(SRCDIR)/rust_uno/target/release/$(if $(filter WNT,$(OS_FOR_BUILD)),rust_uno.dll,librust_uno.so) \ + $(SRCDIR)/rust_uno/target/$(DEB_HOST_RUST_TYPE)/$(CARGO_CHANNEL)/$(if $(filter WNT,$(OS_FOR_BUILD)),rust_uno.dll,librust_uno.so) \ )) $(eval $(call gb_Extension_add_libraries,rust_uno-example, \ rust_uno-example \ )) -$(SRCDIR)/rust_uno/target/release/$(if $(filter WNT,$(OS_FOR_BUILD)),rust_uno.dll,librust_uno.so): $(call gb_CustomTarget_get_target,rust_uno/cargo) +$(SRCDIR)/rust_uno/target/$(DEB_HOST_RUST_TYPE)/$(CARGO_CHANNEL)/$(if $(filter WNT,$(OS_FOR_BUILD)),rust_uno.dll,librust_uno.so): $(call gb_CustomTarget_get_target,rust_uno/cargo) # vim: set noet sw=4 ts=4: diff --git a/rust_uno/Library_rust_uno-example.mk b/rust_uno/Library_rust_uno-example.mk index 42cd1b6ba8f..77d7ed93138 100644 --- a/rust_uno/Library_rust_uno-example.mk +++ b/rust_uno/Library_rust_uno-example.mk @@ -42,7 +42,7 @@ else -Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN \ )) $(eval $(call gb_Library_add_libs,rust_uno-example,\ - -L$(SRCDIR)/rust_uno/target/release -lrust_uno \ + -L$(SRCDIR)/rust_uno/target/$(DEB_HOST_RUST_TYPE)/$(CARGO_CHANNEL) -lrust_uno \ )) endif -- 2.30.2